package org.geektimes.projects.user.management.book;


import java.math.BigDecimal;

public class BookManagement implements BookManagementMBean {

    private Book book;

    public BookManagement(Book book) {
        this.book = book;
    }

    @Override
    public String getName() {
        return this.book.getName();
    }

    @Override
    public void setName(String name) {
        this.book.setName(name);
    }

    @Override
    public String getISBN() {
        return this.book.getISBN();
    }

    @Override
    public void setISBN(String ISBN) {
        this.book.setISBN(ISBN);
    }

    @Override
    public String getAuthor() {
        return this.book.getAuthor();
    }

    @Override
    public void setAuthor(String author) {
        this.book.setAuthor(author);
    }

    @Override
    public String getPress() {
        return this.book.getPress();
    }

    @Override
    public void setPress(String press) {
        this.book.setPress(press);
    }

    @Override
    public BigDecimal getPrice() {
        return this.book.getPrice();
    }

    @Override
    public void setPrice(BigDecimal price) {
        this.book.setPrice(price);
    }
}
